package org.paradigmshift.timelapse.ui

import scala.swing.TextField

class PreferencesTextField( saveAction:(String) => Unit, initAction: () => String ) extends TextField with PreferencesInput {
  def init = text = initAction()
  def save = saveAction( text )
  init
}